package com.kfm.am;

import java.util.Date;

public class Demo<T> {

    private T name;

    public T test01(T name) {
        return name;
    }

    public <E> void test(E e) {

    }
}

class DemoTest {

    public static void main(String[] args) {
        Demo<String> demo = new Demo<>();
        demo.test01("");
        demo.test(1);
        demo.test("");
        demo.test(new Movie("", new Date()));
    }
}
